<!doctype html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport"
          content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
    <script type="text/javascript" src="public/javascripts/jQuery.js"></script>
</head>
<body>
<button onclick="clickMsg()">发送数据</button>
<script>
    var data1 = {
        "end": true,
        "tablename": "伊犁项目部",
        "year": 2019, "month": 1
    };

    function clickMsg() {
        $.ajax({
            type: "POST",
            async: false,
            url: "http://amiba.ddbb.jpl56.com/allnonjump/end",
            data: data1,
        }).done(function (data333) {
            console.log(data333);
        })
    }
</script>
</body>
</html>